package com.nail.api.customMake.service;

import com.nail.api.customMake.bean.Template;
import com.nail.api.user.bean.User;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

public interface ITemplateService extends IBaseService {

    public void addTemplate(Template template);

    public void deleteTemplate(Long templateId);

    public void updateTemplate(Template template);

    public PageResult getTemplate(PageResult pageResult,String templateType);

    public Template getTemplateById(User user, Long id);

    public void setSort(Long id,Integer sort);

    public void setIsAble(Long id,Integer isAble);
}
